<?php

class PurchaseAccountStatementPageLink extends Extension {
	function getPurchaseAccountStatement(){
        $page = PurchaseAccountStatementPage::get()->find('ClassName', 'PurchaseAccountStatementPage');
        if($page) return $page;
    }
    
    function getPurchaseAccountStatementLink() {
        $page = $this->getPurchaseAccountStatement();
        if($page) return $page->Link();
    }
}
